<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="description" content="清镇市安监卫士后台管理系统" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

    <title>微信举报结果</title>

    <link rel="stylesheet" href="<%=basePath%>js/lib/ace/assets/css/bootstrap.css"/>
    <link rel="stylesheet" href="<%=basePath%>css/lib/weui/weui.min.css"/>
</head>
<body>
<div class="weui-msg">
    <c:choose>
        <c:when test="${resultVo.resultCode eq 0}">
            <div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>

            <div class="weui-msg__text-area">
                <h2 class="weui-msg__title">举报成功</h2>

                <p class="weui-msg__desc">等待管理员审核</p>
            </div>

            <div class="weui-msg__opr-area">
                <p class="weui-btn-area">
                    <a href="<%=basePath%>weixin/report/add.html" class="btn btn-success btn-lg btn-block">返回</a>
                </p>
            </div>
        </c:when>
        <c:otherwise>
            <div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>

            <div class="weui-msg__text-area">
                <h2 class="weui-msg__title">举报失败</h2>

                <p class="weui-msg__desc">${resultVo.resultMsg}</p>
            </div>

            <div class="weui-msg__opr-area">
                <p class="weui-btn-area">
                    <a href="<%=basePath%>weixin/report/add.html" class="btn btn-danger btn-lg btn-block">返回</a>
                </p>
            </div>
        </c:otherwise>
    </c:choose>
</div>

<script type="text/javascript" src="<%=basePath%>js/lib/ace/components/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="<%=basePath%>js/lib/ace/components/bootstrap/dist/js/bootstrap.js"></script>
</body>
</html>
